<table id="layout" cellspacing="0">
<!-- logo / top menu ▼▼▼ -->
<tr>
	<td><table id="layout_header" cellspacing="0">
		<tr>
			<th class="version">Web Admin Park v1.0.0</th>
			<td class="top_menu_layout" rowspan="2">
				<table id="top_menu" cellspacing="0">
					<tr>
						<td class="left" width='19'></td>
						<td class="body">
							<?php foreach ($g_menus as $k => $v) { ?>
							<a <?php if ($v['href']) { ?>href="<?=$v['href']?>"<?php } else { ?>href="<?=$App->_url_admin?>/index.php?g_job=<?=$k?>"<?php } ?> onmouseover="g_menu_display('<?=$k?>');"><?=$v['title']?></a>
							&nbsp;&nbsp;I&nbsp;&nbsp;
							<?php } ?>
						</td>
						<td class="right"></td>
					</tr>
				</table>
				<?php foreach ($g_menus as $k1 => $v1) { ?>
				<div id="g_menu_<?=$k1?>" class="sub_menu">
					I&nbsp;&nbsp;
					<?php foreach ($v1['childs'] as $k2 => $v2) { ?>
						<?php if ($v2['hidden']) continue; ?>
						<a <?php if ($v2['href']) { ?>href="<?=$v2['href']?>"<?php } else { ?>href='<?=$App->_url_admin?>/index.php?g_job=<?=$k1?>_<?=$k2?>'<?php } ?>>
							<?=$v2['title']?>
						</a>
						&nbsp;&nbsp;I&nbsp;&nbsp;
					<?php } ?>
				</div>

				<?php } ?>
			</td>
		</tr>
		<tr>
			<td class="logo"><img src="/images/common/logo.png" width="150"></td>
		</tr>
	</table></td>
</tr>
<!-- logo / top menu ▲▲▲ -->
<!-- indicator ▼▼▼ -->
<tr>
	<td><table id="indicator"><tr><td>ADMIN &gt; <?=$g_family_menus[0]['title']?> &gt; <?=$g_family_menus[1]['title']?> <?php if ($g_family_menus[2]) { ?> &gt; <?=$g_family_menus[2]['title']?> <?php } ?></td></tr></table></td>
</tr>
<!-- indicator ▲▲▲ -->
<!-- main layout ▼▼▼ -->
<tr>
	<td><table id="layout_body" cellspacing="0">
		<tr>
			<!-- left ▼▼▼ -->
			<td class="left">
			<div id="login_info">
				<table cellpadding="2" cellspacing="0">
				<caption>접속정보</caption>
				<tr>
					<th>아이디 : </th>
					<td><?=$User->get_id()?></td>
				</tr>
				<tr>
					<th>성명 : </th>
					<td><?=$User->get_name()?></td>
				</tr>
				<tr>
					<th>레벨 : </th>
					<td><?=$User->get_level_name($User->get_level())?></td>
				</tr>
				<tr>
					<th>아이피 : </th>
					<td><?=$_SERVER['REMOTE_ADDR']?></td>
				</tr>
				<tr>
					<td colspan="2" class="util">
						<!-- <input type="button" value="정보변경" onclick="g_open(g_arg_url('user_member', 'update_form', '<?=$User->get_id()?>'), 600, 450); return false;" /> -->
						<input type="button" value="로그아웃" onclick="g_goto('help_logout'); return false;" />
					</td>
				</tr>
				</table>
			</div>
			</td>
			<!-- left ▲▲▲ -->
			<!--- right ▼▼▼ -->
			<td class="right">
				<div class="page_title">▒ <?=$g_action['title']?></div><br />
				<?php if ($g_family_menus[1]['pages']) { ?>
				<div class="layout_submenu">
					<?php foreach ($g_family_menus[1]['childs'] as $k => $v) { ?><?php if ($v['hidden']) continue; ?>
					<div <?php if ($k == $g_jobs[2]) { ?>id="menu_depth3_current"<?php } else { ?>id="menu_depth3"<?php } ?>>
						<div class="menu_left"></div>
						<div class="menu_button"><a class="menu_depth3" href="<?=$App->_url_admin?>/index.php?g_job=<?=$g_jobs[0]?>_<?=$g_jobs[1]?>_<?=$k?>&g_params=<?=urlencode($_GET['g_params'])?>"><?=$v['title']?></a></div>
						<div class="menu_right"></div>
					</div>
					<?php } ?>
				</div>
				<?php } ?>